/**
 * IServicePlanService.java
 * Created at 2017-11-20
 * Created by zhanghailin
 * Copyright (C) 2017 BROADTEXT SOFTWARE, All rights reserved.
 */
package com.broadtext.rms.system.service;

import java.util.List;
import java.util.Map;

import com.broadtext.common.exp.ServiceException;
import com.broadtext.common.service.IEntityService;
import com.broadtext.rms.system.model.TmServicePlan;

/**
 * <p>ClassName: IServicePlanService</p>
 * <p>Description: TODO</p>
 * <p>Author: zhanghailin</p>
 * <p>Date: 2017-11-20</p>
 */
public interface IServicePlanService extends IEntityService<TmServicePlan>{
    
    List<Object> findCustomerOpt() throws ServiceException;
    
    Map<String, Object> getUserNamebyLoginName(String loginName) throws ServiceException;
    
    TmServicePlan getPlanById(String pkId) throws ServiceException;
    
    void deleteServicePlan(String[] idArray, String updateUser) throws ServiceException;
    
    void saveServicePlan(TmServicePlan t) throws ServiceException;
    
    Boolean checkRepeatPlanCode(String planCode,String pkId) throws ServiceException;

}
